<script>
function  showDivControl(id,width,height){
	var divControl=document.getElementById(id); 	 
	var winback=document.getElementById("winback");  
	divControl.style.display =  "" ; 
	var leftOffset=(document.body.clientWidth-width)/2;
	divControl.style.left=leftOffset; 
	var topOffset=(document.body.clientHeight-height)/2;
	divControl.style.top=topOffset+document.body.scrollTop;  
	winback.style.display =  "" ; 
	winback.style.height=document.body.scrollHeight;
	
}

function  hideDivControl(id)  { 
	var divControl=document.getElementById(id); 	 
	var winback=document.getElementById("winback");   
	divControl.style.display =  "none" ;  
	winback.style.display =  "none" ; 
	
}
</script>

<div id="winback"
	style="display: none; position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; background-color: white; z-index: 1001; -moz-opacity: 0.8; opacity: .80; filter: alpha(opacity =                                       80);">
</div>
 